<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
  <!-- js导入 -->
   <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.js"></script>
   <script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/jquery.easyui.min.js"></script>
   <script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui/locale/easyui-lang-zh_CN.js"></script>
  <!-- css 导入 -->
  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/icon.css">
  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui/themes/default/easyui.css">
   <script type="text/javascript">
   
         $(function(){
        	 
        	 $.messager.prompt('请输入年纪', '你的实际年纪是多少?', function(r){
        		 //  r  用户输入的内容
        		 if (r){ alert('Your age is:' + r); }}
        	 );
        	 
        	 
        	 $.messager.confirm('确认删除?', '这么好商品,忍心删除吗?', function(r){
        		 if (r){ 
        		   //  用户点击确定  执行代码
        		    alert("发送后台删除商品");
        		 }
        		 }
        	 );
         });
   </script>
</head>
<body>
    <h2>删除操作</h2>
     

</body>
</html>